<template>
  <div class="header">
    <div class="header-left">
        <span class="iconfont">
          &#xe641;
        </span>
    </div>

    <div class="header-search">
        <span class="iconfont">
          &#xe612;
        </span>
        输入城市/景点/游玩主题
    </div>

    <div class="header-right">
      <router-link to="/City" style="color: #fff;">
       {{this.$store.state.city}}<span class="iconfont">&#xe64a;</span>
      </router-link>
    </div>
  </div>
</template>

 <script type="text/javascript">

 </script>

<style scoped lang="stylus">

@import "~@/assets/css/var.styl";
  .header{
    width: 100%;
    height: .88rem;
    line-height: .88rem;
    background:$bgColor;
    color: $textColor;
    font-size: .36rem;
    display: flex;
  }
  .header-left{
    width: .4rem;
    padding: 0 .2rem;
    text-align: center;
    font-weight: bold;
  }
  .header-search{
    flex: 1;
    background: #fff;
    height: .6rem;
    line-height: .6rem;
    margin: .14rem 0;
    color: #e4e7ea;
    font-size: .28rem;
    border-radius: .1rem;
    padding-left: .2rem;
  }
  .header-right{
    font-size: .28rem;
    padding: 0 .2rem;
  }
  .header-right span{
    font-size: .22rem
  }
</style>
